Platform Explorer / Nuxeo Platform 2021.52

Contribution org.nuxeo.ecm.platform.preview.restAPI.contrib--restlets

This contribution is part of XML component org.nuxeo.ecm.platform.preview.restAPI.contrib inside nuxeo-preview-jsf-2021.52.8.jar /OSGI-INF/restAPI-contrib.xml

Documentation

GET /nuxeo/restAPI/preview/{repoId}/{docId}/{fieldPath}?subPath=(subPath)

Extension Point

Extension point restlets of component PluggableRestletService.

Registration Order

3
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <restletPlugin class="org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet" enabled="true" name="preview" useSeam="false">
          <urlPatterns>
            <urlPattern>/preview/{repo}/{docid}/{fieldPath}/{subPath}</urlPattern>
            <urlPattern>/preview/{repo}/{docid}/{fieldPath}/</urlPattern>
          </urlPatterns>
        </restletPlugin>

XML Source

<extension point="restlets" target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService">

    <documentation>
      GET /nuxeo/restAPI/preview/{repoId}/{docId}/{fieldPath}?subPath=(subPath)
    </documentation>

    <restletPlugin class="org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet" enabled="true" name="preview" useSeam="false">
      <urlPatterns>
        <urlPattern>/preview/{repo}/{docid}/{fieldPath}/{subPath}</urlPattern>
        <urlPattern>/preview/{repo}/{docid}/{fieldPath}/</urlPattern>
      </urlPatterns>
    </restletPlugin>
  </extension>